package com.ado.bazinga.core.service;

import java.util.List;

import com.ado.bazinga.core.dal.entity.Operation;

/**
 *@author adonais
 *@date 2020年4月6日
 *@description OperationService.java
**/
public interface OperationService {

	
	Operation findById(String id) ;

	/***
	 * 
	 * @param operation
	 * @return
	 */
	boolean createOperation(Operation operation);

	/***
	 * 
	 * @param operationId
	 * @return
	 */
	boolean deleteOperation(String operationId);

	/***
	 * 
	 * @param operationId
	 * @return
	 */
	Operation getOperationById(String operationId);

	/**
	 * s
	 * @param operation
	 * @return
	 */
	boolean updateOperation(Operation operation);

	/***
	 * 
	 * @return
	 */
	List<Operation> getAllOperations();
}
